package com.example.backgroundservice;

import com.example.backgroundservice.config.ConfigTest;
import com.example.backgroundservice.entity.PlanVo;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Import;

/**
 * @author cc
 * @classname BackgroundServiceApplication
 * @description TODO
 * @date 2022/6/9 16:57
 */
@Slf4j
@MapperScan("com.example.backgroundservice.mapper")
@SpringBootApplication
public class BackgroundServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(BackgroundServiceApplication.class, args);
        log.info("\"(ヾ(◍°∇°◍)ﾉﾞ  background-service 启动成功！  ヾ(◍°∇°◍)ﾉﾞ)\"");

        /*ApplicationContext ac = new AnnotationConfigApplicationContext(ConfigTest.class);
        String[] beanDefinitionNames = ac.getBeanDefinitionNames();
        System.out.println("********************************");
        for (String beanName : beanDefinitionNames) {
            System.out.println(beanName);
        }*/

    }
}
